﻿
@{
    ViewBag.Title = "TreeBox";
}

@RenderPage("~/Areas/EasyUI/Views/Shared/_EasyUI.cshtml")     @*如果用IFrame  引用这行*@

<div>
    @Html.AntiForgeryToken()
    <ul id="treebox" class="easyui-tree" data-options="url:'GetMenuTreeJson?uid=@ViewBag.UID',method:'get',animate:true,checkbox:true"></ul>
    <input type="button" onclick="UpdateTree(2,@ViewBag.UID)" value="获取" />
</div>

<script src="/Areas/EasyUI/Scripts/Admin/TreeBox.js"></script>